// 封装banner接口

import request from '@/utils/request'

export const getBannerAPI = () => {
  return request('/home/banner', 'GET', {})
}

// 获取人气推荐

export const getHotAPI = () => {
  return request('/home/hot', 'GET', {})
}

/**
 * @description: 获取新鲜好物
 * @param {*}
 * @return {*}
 */
export const findNew = () => {
  return request('home/new', 'get', {})
}
